package com.exam.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ExamMessage {
    private Integer id;
    private String description;//考试描述
    private String subject;//考试课程
    private String practiceOrExam;//考试或练习
    private Integer paperId;//试卷编号

    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date examDate;//考试日期

    private Integer time;//考试时长
    private Integer grade;//考试年级
    private Integer clazz;//考试班级
    private String term;//学期
    private String major;//考试专业
    private String institute;//考试学院
    private Integer examScore;//总分
    private String type;//考试类型
    private String tips;//考试须知
}
